import { getlink } from "@/api/getapi.js"
export let dxysma = {
    state: {
        crr: []
    },
    mutations: {
        crra(state, payload) {
            state.crr = payload
        }
    },
    axioslink(context, payload) {
        getlink(payload.url).then((ok) => {
            console.log(ok)
            context.commit("crra", ok)
        }).then((err) => {
            console.log(err)
        })
    }
}